#include "AVL.hpp"
#include <vector>

using std::vector;

int main()
{
	vector<int> v({ 16, 3, 7, 11, 9, 26, 18, 14, 15 });
	my_avl::AVL<int, int> avl;
	for (int i = 0; i < v.size(); i++)
	{
		avl.Insert(v[i], v[i]);
	}
	int a = 0;
	avl.PreOrder();
	std::cout << std::endl;
	std::cout << avl.IsAVL() << std::endl;
	return 0;
}